package com.stock.service.impl;

import com.entity.Order;
import com.entity.Stock;

import com.stock.mapper.StockMapper;
import com.stock.service.StockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StockServiceImpl implements StockService {

    @Autowired(required = false)
    private StockMapper stockMapper;

    @Override
    public List<Stock> findStockInfo() {
        return stockMapper.findStockInfo();
    }
}
